#定义一个列表 list_name = ["Jack" , "Lisa" , "Hsp" , "Paul" , "Smith" , "Kobe"]
list_name = ["Jack" , "Lisa" , "Hsp" , "Paul" , "Smith" , "Kobe"]
#去除前三个名字
list_name_1 = list_name[0:3:1]
# list_name_1 = list_name[:3:]
print(list_name_1)

#取出后三个名字,并且保证原来的顺序
list_name_2 = list_name[-1:-4:-1]
print(list_name_2)
# list_name_2.reverse()
list_name_2 = list_name_2[-1:-4:-1]
print(list_name_2)